package com.hsylient.dao;

import java.io.Serializable;
import java.time.LocalDateTime;

public class Employ implements Serializable {

    private Long id;
    private String employId;
    private String employName;
    private Double salary;
    private LocalDateTime gmtCreate;
    private LocalDateTime gmtModified;

    public Employ() {
    }

    public Employ(Long id, String employId, String employName, Double salary, LocalDateTime gmtCreate, LocalDateTime gmtModified) {
        this.id = id;
        this.employId = employId;
        this.employName = employName;
        this.salary = salary;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getEmployId() {
        return employId;
    }

    public void setEmployId(String employId) {
        this.employId = employId;
    }

    public String getEmployName() {
        return employName;
    }

    public void setEmployName(String employName) {
        this.employName = employName;
    }

    public Double getSalary() {
        return salary;
    }

    public void setSalary(Double salary) {
        this.salary = salary;
    }

    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public String toString() {
        return "Employ{" +
                "id=" + id +
                ", employId='" + employId + '\'' +
                ", employName='" + employName + '\'' +
                ", salary=" + salary +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                '}';
    }
}
